package 类和对象;

public class Zuoye2 {
    String shuming;
    String chubanshe;
    String zuozhe;
    String time;
    int sum;

    public void intbook() {
        System.out.println("今年最畅销的"+shuming+",是由"+chubanshe+"硬刷出版的，作者是"+zuozhe+"同学，出版日期为"+time+",本书价格为"+sum+"元，价格非常亲民。");
    }
}
